//
//  RXXKVideoView.h
//  RXXKVideo
//
//  Created by 星仔 on 2019/3/17.
//  Copyright © 2019年 rxx. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class GKDYVideoViewModel,RXXKVideoControlView;

@interface RXXKVideoView : UIView

@property (nonatomic, strong) GKDYVideoViewModel        *viewModel;
@property (nonatomic, strong) RXXKVideoControlView      *currentPlayView;

- (instancetype)initWithVC:(UIViewController *)vc isPushed:(BOOL)isPushed;

//set data
- (void)setUpVideoDatas:(NSArray *)videoDatas atIndex:(NSUInteger)index;

- (void)pause; //暂停
- (void)resume; //恢复
- (void)destroyPlayer; //销毁播放器

@end

NS_ASSUME_NONNULL_END
